<template>
  <nm-login :actions="actions"/>
</template>
<script>
import api from '@api/account'
export default {
  data () {
    return {
      actions: {
        getVerifyCode () {
          return new Promise(resolve => {
            resolve({ 'id': '8805ac775abc4801829ab6b3d39a1d4b', 'base64String': '' })
          })
        },
        login (params) {
          return new Promise(resolve => {
            api.login(params)
            resolve()
          })
        }
      }
    }
  }
}
</script>
